<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Tasks</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Tasks</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Tasks controller for frontend.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Andrej Jursa</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_controllers---tasks.php.html">/controllers/tasks.php</a> (line <span class="field"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a8">8</a></span>)
		</p>
		
				
		<pre>CI_Controller
   |
   --<a href="../LIST_Core/LIST_Controller.html">LIST_Controller</a>
      |
      --Tasks</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-consts">Constants</a>
							
									<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																																												
												<div class="method-definition">
											<span class="method-result">Tasks</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#can_upload_file" title="details" class="method-name">can_upload_file</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_set</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$course</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#compute_points" title="details" class="method-name">compute_points</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$i_task_sets</span>, <span class="var-type">Student</span>&nbsp;<span class="var-name">$student</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#create_comment" title="details" class="method-name">create_comment</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#download_file" title="details" class="method-name">download_file</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#download_hidden_file" title="details" class="method-name">download_hidden_file</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#download_solution" title="details" class="method-name">download_solution</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#filter_valid_task_sets" title="details" class="method-name">filter_valid_task_sets</a>
											(<span class="var-type">Task_set</span>&nbsp;<span class="var-name">$task_sets</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#get_task_sets" title="details" class="method-name">get_task_sets</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$course</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$group</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$student</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#get_task_set_by_id" title="details" class="method-name">get_task_set_by_id</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$course</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$group</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$student</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#index" title="details" class="method-name">index</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#normalize_student_name" title="details" class="method-name">normalize_student_name</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$student</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#post_comment" title="details" class="method-name">post_comment</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#post_comment_reply" title="details" class="method-name">post_comment_reply</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$comment_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#reply_at_comment" title="details" class="method-name">reply_at_comment</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$comment_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#show_comments" title="details" class="method-name">show_comments</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#subscribe_to_task_comments" title="details" class="method-name">subscribe_to_task_comments</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#task" title="details" class="method-name">task</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#unsubscribe_to_task_comments" title="details" class="method-name">unsubscribe_to_task_comments</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#upload_solution" title="details" class="method-name">upload_solution</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span> = <span class="var-default">0</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#zip_plain_file_to_archive" title="details" class="method-name">zip_plain_file_to_archive</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$archive_name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$original_file_name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file_path</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-consts">Constants</a>
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a10">10</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Tasks</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../LIST_Core/LIST_Controller.html#method__construct">LIST_Controller::__construct()</a></dt>
						<dd>Main constructor, initialise controller.</dd>
					</dl>
			
	</div>
<a name="methodcan_upload_file" id="can_upload_file"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">can_upload_file</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a427">427</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			can_upload_file
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_set</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$course</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_set</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$course</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcompute_points" id="compute_points"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">compute_points</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a476">476</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			compute_points
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$i_task_sets</span>, <span class="var-type">Student</span>&nbsp;<span class="var-name">$student</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$i_task_sets</span>			</li>
					<li>
				<span class="var-type"><a href="../LIST_DM_Models/Student.html">Student</a></span>
				<span class="var-name">$student</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreate_comment" id="create_comment"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">create_comment</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a288">288</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			create_comment
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methoddownload_file" id="download_file"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">download_file</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a156">156</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			download_file
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddownload_hidden_file" id="download_hidden_file"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">download_hidden_file</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a177">177</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			download_hidden_file
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddownload_solution" id="download_solution"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">download_solution</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a131">131</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			download_solution
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_set_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="methodfilter_valid_task_sets" id="filter_valid_task_sets"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">filter_valid_task_sets</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a438">438</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			filter_valid_task_sets
		</span>
					(<span class="var-type">Task_set</span>&nbsp;<span class="var-name">$task_sets</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../LIST_DM_Models/Task_set.html">Task_set</a></span>
				<span class="var-name">$task_sets</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_task_sets" id="get_task_sets"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_task_sets</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a349">349</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_task_sets
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$course</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$group</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$student</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$course</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$group</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$student</span>			</li>
				</ul>
		
			
	</div>
<a name="methodget_task_set_by_id" id="get_task_set_by_id"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">get_task_set_by_id</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a386">386</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			get_task_set_by_id
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$course</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$group</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$student</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$course</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$group</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$student</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_set_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodindex" id="index"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">index</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a17">17</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			index
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodnormalize_student_name" id="normalize_student_name"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">normalize_student_name</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a337">337</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			normalize_student_name
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$student</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$student</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpost_comment" id="post_comment"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">post_comment</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a272">272</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			post_comment
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodpost_comment_reply" id="post_comment_reply"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">post_comment_reply</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a280">280</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			post_comment_reply
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$comment_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$comment_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodreply_at_comment" id="reply_at_comment"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">reply_at_comment</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a256">256</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			reply_at_comment
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$comment_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$comment_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodshow_comments" id="show_comments"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">show_comments</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a198">198</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			show_comments
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsubscribe_to_task_comments" id="subscribe_to_task_comments"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">subscribe_to_task_comments</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a212">212</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			subscribe_to_task_comments
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtask" id="task"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">task</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a40">40</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			task
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_set_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodunsubscribe_to_task_comments" id="unsubscribe_to_task_comments"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">unsubscribe_to_task_comments</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a231">231</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			unsubscribe_to_task_comments
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$task_id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodupload_solution" id="upload_solution"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">upload_solution</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a70">70</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			upload_solution
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$task_set_id</span> = <span class="var-default">0</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$task_set_id</span>			</li>
				</ul>
		
			
	</div>
<a name="methodzip_plain_file_to_archive" id="zip_plain_file_to_archive"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">zip_plain_file_to_archive</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_FE_Controllers__controllerstasks.php.html#a511">511</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			zip_plain_file_to_archive
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$archive_name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$original_file_name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$file_path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$archive_name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$original_file_name</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file_path</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../LIST_Core/LIST_Controller.html">LIST_Controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method__construct">LIST_Controller::__construct()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_add_jCrop">LIST_Controller::_add_jCrop()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_add_plupload">LIST_Controller::_add_plupload()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_add_prettify">LIST_Controller::_add_prettify()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_add_scrollTo">LIST_Controller::_add_scrollTo()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_add_tinymce">LIST_Controller::_add_tinymce()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_initialize_open_task_set">LIST_Controller::_initialize_open_task_set()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_initialize_student_menu">LIST_Controller::_initialize_student_menu()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_initialize_teacher_menu">LIST_Controller::_initialize_teacher_menu()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_init_language_for_student">LIST_Controller::_init_language_for_student()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_init_language_for_teacher">LIST_Controller::_init_language_for_teacher()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_init_lang_js_messages">LIST_Controller::_init_lang_js_messages()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_init_specific_language">LIST_Controller::_init_specific_language()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_init_teacher_quick_langmenu">LIST_Controller::_init_teacher_quick_langmenu()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_init_teacher_quick_prefered_course_menu">LIST_Controller::_init_teacher_quick_prefered_course_menu()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_load_student_langfile">LIST_Controller::_load_student_langfile()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_load_teacher_langfile">LIST_Controller::_load_teacher_langfile()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_select_student_menu_pagetag">LIST_Controller::_select_student_menu_pagetag()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_select_teacher_menu_pagetag">LIST_Controller::_select_teacher_menu_pagetag()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_send_multiple_emails">LIST_Controller::_send_multiple_emails()</a></span><br>
													<span class="method-name"><a href="../LIST_Core/LIST_Controller.html#method_transaction_isolation">LIST_Controller::_transaction_isolation()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../LIST_Core/LIST_Controller.html">LIST_Controller</a></span></p>
					<blockquote>
													<span class="const-title">
								<span class="const-name"><a href="../LIST_Core/LIST_Controller.html#constTRANSACTION_AREA_GLOBAL">LIST_Controller::TRANSACTION_AREA_GLOBAL</a></span><br>
							</span>
													<span class="const-title">
								<span class="const-name"><a href="../LIST_Core/LIST_Controller.html#constTRANSACTION_AREA_SESSION">LIST_Controller::TRANSACTION_AREA_SESSION</a></span><br>
							</span>
													<span class="const-title">
								<span class="const-name"><a href="../LIST_Core/LIST_Controller.html#constTRANSACTION_ISOLATION_READ_COMMITTED">LIST_Controller::TRANSACTION_ISOLATION_READ_COMMITTED</a></span><br>
							</span>
													<span class="const-title">
								<span class="const-name"><a href="../LIST_Core/LIST_Controller.html#constTRANSACTION_ISOLATION_READ_UNCOMMITTED">LIST_Controller::TRANSACTION_ISOLATION_READ_UNCOMMITTED</a></span><br>
							</span>
													<span class="const-title">
								<span class="const-name"><a href="../LIST_Core/LIST_Controller.html#constTRANSACTION_ISOLATION_REPEATABLE_READ">LIST_Controller::TRANSACTION_ISOLATION_REPEATABLE_READ</a></span><br>
							</span>
													<span class="const-title">
								<span class="const-name"><a href="../LIST_Core/LIST_Controller.html#constTRANSACTION_ISOLATION_SERIALIZABLE">LIST_Controller::TRANSACTION_ISOLATION_SERIALIZABLE</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Fri, 13 Sep 2013 12:32:52 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>